<?php
declare (strict_types=1);

namespace app\common\model;

class MaterialCate extends Base
{
    protected $name = 'material_cate';

    public static function addGroup($param): array
    {
        parent::create(['title' => $param['title']]);
        return ['code' => 1, 'msg' => '添加成功'];
    }

}
